package com.mercury.ec.module.air.framework.web.config;

import com.mercury.ec.framework.swagger.config.EcSwaggerAutoConfiguration;
import org.springdoc.core.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * air 模块的 web 组件的 Configuration
 *
 * @author hesx
 */
@Configuration(proxyBeanMethods = false)
public class AirWebConfiguration {

    /**
     * air 模块的 API 分组
     */
    @Bean
    public GroupedOpenApi airGroupedOpenApi() {
        return EcSwaggerAutoConfiguration.buildGroupedOpenApi("air");
    }

}
